﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using static ShoppingEntity.UserInfo;

namespace APIShoppingSystem.Models.UserInfoViewModel
{
    public class AddUserInfoViewModel
    {
        /// <summary>
        /// 账号
        /// </summary>
        public string Account { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>

        public string UserName { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public string PhoneNum { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public int Sex { get; set; }

        //地址
        public string Address { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string PassWord { get; set; }

        /// <summary>
        /// 用户的角色 
        /// </summary>
        public UserInfoRoleInfoEnum UserInfoRole { get; set; }
    }
}
